<?php 

	//引入smarty类
	include './libs/Smarty.class.php';

	//实例化对象
	$s = new Smarty;

	//初始化参数
	$s->template_dir = './view';
	$s->compile_dir = './view_c';
	$s->config_dir = './config';
	$s->caching = true;